package game;

import card.Card;

public class Player {

  String name;
  Card current_card;
  int rounds_won = 0;

  public Player(String surname, String lastname) {
    this.name = String.format("%s %s", surname, lastname);
  }

  public String get_name() {
    return this.name;
  }

  public void set_card(Card card) {
    this.current_card = card;
  }

  public Card get_card() {
    return current_card;
  }

  public void win() {
    this.rounds_won++;
  }

  public int won() {
    return this.rounds_won;
  }
}
